/* // ═══════════════════════════════════════════════════════════════════════
// FILE: assets/css/style.css (COMPLETE PROFESSIONAL STYLESHEET)
// ═══════════════════════════════════════════════════════════════════════ */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --secondary: #ff6b35;
    --secondary-dark: #e85d2e;
    --dark: #1e293b;
    --dark-light: #334155;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --gradient: linear-gradient(135deg, #1a73e8 0%, #004db3 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #e85d2e 100%);
    --shadow: 0 10px 20px rgba(0,0,0,1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,1);
    /* --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15); */
}
    
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-left, .top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar i {
    color: var(--secondary);
}

.social-icons-top {
    display: flex;
    gap: 10px;
}

.social-icons-top a {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 14px;
}

.social-icons-top a:hover {
    background: var(--secondary);
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    /* position: sticky; */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 45px;
    color: var(--secondary);
}

.logo img{
    /*width: auto;*/
    /*width: 150px;*/
    width: 70px;
    /*height: -webkit-fill-available;*/
    height: 70px;
    /*filter: drop-shadow(5px 5px 5px #222);*/
    
    transition: transform 0.8s ease-in-out;
    /* Smooth transition over 0.8 seconds */
}

.logo img:hover {
  /* Rotates 180 degrees when hovered */
  transform: rotate(360deg);
}

.logo h1 {
    font-size: 34px;
    line-height: 1;
    margin: 0;
    color: var(--primary);
    text-shadow: 6px 6px 6px #fa8c16;
}

.logo h2 {
    /*font-size: 18px; changed */
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 6px 6px 6px #000000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    font-weight: 550;
    font-size: 18px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    /*text-shadow: 4px 4px 3px #fa8c16;*/
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-nav-cta {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26,115,232,0.3);
}

.nav-toggle {
    display: none;
    font-size: 40px;
    cursor: pointer;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 6px 20px rgb(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 1);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-light {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 1);
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,115,232,0.592) 0%, rgba(0,77,179,0.586) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    /* padding: 120px 20px 80px; */
    padding: 220px 20px 80px;
    padding-bottom: 240px !important;
}

.hero-text h1 {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 4px 4px 12px #fa8c16;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 35px;
    max-width: 700px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    text-shadow: 4px 4px 12px #000000;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    padding: 35px 0;
    z-index: 3;
    margin-top: 40px !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item i {
    font-size: 45px;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
    text-shadow: 4px 4px 12px #fa8c16;
}

.stat-item p {
    font-size: 15px;
    opacity: 0.95;
    margin: 0;
    text-shadow: 4px 4px 12px #fa8c16;
}

/* Section Styles */
.section {
    padding: 100px 20px;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 28px;
    display: inline-block;
    text-shadow: 4px 4px 12px rgb(255, 136, 0);
    margin-bottom: 10px;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    margin: 15px 0 20px;
    color: var(--dark);
    text-shadow: 4px 4px 20px #fa8c16;
}

.section-dark .section-title {
    color: var(--white);
}

.section-header p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.85);
}

/* About Preview */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-badge span {
    font-size: 14px;
    display: block;
}

.about-badge h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.about-features {
    margin: 30px 0 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-item i {
    font-size: 28px;
    color: var(--secondary);
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
}

.service-icon {
    font-size: 55px;
    margin-bottom: 25px;
    filter: drop-shadow(4px 6px 2px #222);
}

.service-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
}

.service-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 25px;
    color: var(--white);
}

.project-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--white);
}

.project-overlay p {
    margin: 0;
    font-size: 14px;
}

.project-info,
.project-content {
    padding: 25px;
}

.project-client {
    display: inline-block;
    background: var(--light);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 255, 0.4);
    box-shadow: 1px 1px 4px black;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.project-link {
    color: var(--primary);
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

.project-link:hover {
    color: var(--secondary);
}

.project-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-status.completed {
    background: #10b981;
    color: white;
}

.project-status.ongoing {
    background: #f59e0b;
    color: white;
}

.project-status.upcoming {
    background: #6366f1;
    color: white;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 1);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 35px;
    color: var(--white);
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.client-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.client-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.client-icon i {
    font-size: 28px;
    color: var(--primary);
}

.client-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.client-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    padding: 90px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 44px;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    position: relative;
    background: url('../images/page-header-bg.jpg') center/cover;
    padding: 120px 20px 80px;
    text-align: center;
    color: var(--white);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,115,232,0.9) 0%, rgba(0,77,179,0.85) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 4px 4px 12px #000000;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    text-shadow: 4px 4px 12px #000000;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.9;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Equipment Table */
.equipment-table-wrapper {
    overflow-x: auto;
}

.equipment-table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.equipment-table th,
.equipment-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--light);
}

.equipment-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.equipment-table tbody tr:hover {
    background: var(--light);
}

.equipment-table .badge {
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

/* Manpower Grid */
.manpower-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.manpower-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.manpower-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.manpower-count {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.manpower-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.manpower-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 8px 0;
}

/* Service Detail Page */
.service-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-block.reverse {
    direction: rtl;
}

.service-detail-block.reverse > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow);
}

.service-detail-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-desc {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-full-desc {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
}

.feature-box i {
    font-size: 50px;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.feature-box p {
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* Project Filter */
.project-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.category-title {
    font-size: 28px;
    margin-bottom: 35px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    color: var(--secondary);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-box-large {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.info-box-large:hover{
    /* box-shadow: 0 2px 20px rgb(12, 41, 227); */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-icon i {
    font-size: 28px;
    color: var(--white);
}

.info-box-large h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.info-box-large p {
    color: var(--text-light);
    margin: 8px 0;
}

.info-box-large a {
    color: var(--primary);
}

.info-box-large a:hover {
    color: var(--secondary);
}

.contact-social h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.social-links-contact {
    display: flex;
    gap: 12px;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 1);
}

.social-links-contact a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    /*border: 2px solid var(--light);*/
    border: 2px solid rgba(0, 0, 0, 0.251);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Map */
.map-section {
    height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Filters */
.map-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: #eaeaea;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: #0b5ed7;
  color: #fff;
  border: 1px solid black;
}

.filter-btn.completed { color: #198754; }
.filter-btn.upcoming { color: #0d6efd; }
.filter-btn.ongoing { color: #ffa500; }



/* Map Wrapper */
.map-wrapper {
  position: relative;
  width: 100%;
}

/* Map */
#indiaMap {
  height: 500px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Legend */
.map-legend {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-size: 14px;
  z-index: 9999;   /* 🔥 THIS FIXES VISIBILITY */
}

.map-legend h4 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Match your marker colors */
.legend-dot.completed { background: green; }
.legend-dot.ongoing { background: orange; }
.legend-dot.upcoming { background: blue; }



/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 70px 20px 50px;
}

/* .footer-grid {
    display: grid;
} */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}




    /**
 * ═══════════════════════════════════════════════════════════════════════
 * SHRI RAM CONSTRUCTION CO. - COMPLETE PROFESSIONAL DYNAMIC PHP WEBSITE
 * ═══════════════════════════════════════════════════════════════════════
 * 
 * COMPLETE FILE PACKAGE WITH ALL PAGES & ADMIN PANEL
 * Easy to understand, fully functional, production-ready
 */


/* 
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
} */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/*.footer-logo img{*/
/*    border-radius: 50%;*/
/*}*/

.footer-logo i {
    font-size: 40px;
    color: var(--secondary);
}

.footer-logo h3 {
    font-size: 22px;
    color: var(--white);
    margin: 0;
    text-shadow: 4px 4px 12px #fa8c16;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    /* margin-top: 30px;
    margin-bottom: 10px; */
    color: var(--white);
    text-shadow: 4px 4px 12px #1677ff;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-shadow: 4px 4px 12px #000000;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-col ul li a i {
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 20px #000000;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-info-footer {
    list-style: none;
}

.contact-info-footer li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.contact-info-footer i {
    color: var(--secondary);
    margin-top: 3px;
    font-size: 18px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 8px 0;
    color: rgba(255,255,255,0.75);
}

.footer-bottom i {
    color: var(--secondary);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top.active {
    display: flex;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Company Overview */
.overview-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-box-large {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-box-large i {
    font-size: 45px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.stat-box-large h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--primary);
}

.stat-box-large p {
    color: var(--text-light);
    margin: 0;
}

.ceo-signature {
    margin-top: 40px;
    padding: 25px;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 1);
}

.ceo-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

.ceo-info p {
    color: var(--text-light);
    margin: 5px 0;
}

/* Strengths Section */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.strength-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.strength-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.strength-icon i {
    font-size: 35px;
    color: var(--primary);
}

.strength-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.strength-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .overview-grid,
    .service-detail-block,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo img{
        /*width: 90px;*/
        width: 70px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--light);
    }
    
    .btn-nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ============================================
   HERO MOBILE FIX — final working solution
   ============================================ */
@media (max-width: 768px) {

    /* Extend hero height so stats never overlap */
    .hero {
        padding-bottom: 360px !important;
        position: relative;
    }

    /* Reduce hero-content bottom padding */
    .hero-content {
        padding-bottom: 60px !important;
    }

    /* Keep stats attached at bottom of hero but lower */
    .hero-stats {
        bottom: 0 !important;
        padding: 25px 0 !important;
    }

    /* Adjust the grid so stats look cleaner on mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px !important;
    }
}



/* -------------------------
   ABOUT.PHP — RESPONSIVE FIXS
   Paste at end of style.css
   ------------------------- */

/* Ensure no element can extend the viewport width */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Make the overview grid fluid and safe */
.fixed-responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Stats grid becomes a responsive grid of small cards */
.responsive-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 100%;
}

/* Make stat boxes safe (no overflow from shadows) */
.stat-box-large,
.manpower-card,
.strength-card,
.service-card,
.info-box-large {
    max-width: 100% !important;
    min-width: 0 !important;  /* allows shrinking inside flex/grid */
    overflow: hidden !important;
}

/* Make sure images and badges never overflow */
.about-image img,
img {
    max-width: 100% !important;
    /* height: auto !important; */
    display: block;
}

/* Badge position shrink on small screens */
.about-badge {
    right: 30px;
    bottom: 30px;
    box-sizing: border-box;
}

/* Responsive tweaks for smaller displays */
@media (max-width: 768px) {
    .fixed-responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .overview-stats,
    .responsive-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .about-badge {
        right: 12px !important;
        bottom: 12px !important;
        padding: 12px 18px !important;
        transform: none !important;
    }

    .ceo-signature.responsive-ceo {
        margin-bottom: 18px;
    }

    /* small protective rule for any injected fixed elements */
    [style*="position: fixed"], .floating-widget, .chat-widget, .ai-button {
        max-width: calc(100% - 16px) !important;
        right: 12px !important;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Equipment table safety */
.equipment-table-wrapper {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 1);
    overflow-x: auto;
}

.equipment-table {
    width: 100%;
    table-layout: auto;
    min-width: 600px; /* allows horizontal scroll ONLY inside wrapper on tiny screens */
}

/* Small visual cleanup for cards on mobile */
@media (max-width: 420px) {
    .stat-box-large h3,
    .manpower-count {
        font-size: 20px;
    }
}
